package org.ghost.wechat.platform.dto.wechat.user;

import java.io.Serializable;

/**
 * @author 01
 */
public class WeChatUserTagReqDTO implements Serializable {
    private static final long serialVersionUID = -6227728503106394169L;

    private WeChatUserTagItemDTO tag;

    public WeChatUserTagItemDTO getTag() {
        return tag;
    }

    public void setTag(WeChatUserTagItemDTO tag) {
        this.tag = tag;
    }

    @Override
    public String toString() {
        return "WeChatUserTagReqDTO{" +
                "tag=" + tag +
                '}';
    }

    public static class WeChatUserTagItemDTO implements Serializable {
        private static final long serialVersionUID = 1625357834457541469L;

        private Long id;
        private String name;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "WeChatUserTagItemDTO{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    '}';
        }
    }
}

